/**
 * 
 */
package com.wissen.giskard.client.services;

import com.google.gwt.core.client.GWT;
import com.wissen.giskard.client.payroll.services.DisplayTableService;
import com.wissen.giskard.client.payroll.services.DisplayTableServiceAsync;

/**
 * @author Swapnil Sonawane
 *
 * @created date :09-Aug-2010
 */
public class ServiceUtil {

	
	private static AuthenticationServiceAsync authentictionService;
	
	private static DisplayTableServiceAsync displayTableService;
	
	
	
	public static AuthenticationServiceAsync getAuthenticateService()
	{
		if(authentictionService==null)
			authentictionService=GWT.create(AuthenticationService.class);
		
		return authentictionService;
		
	}
	
	public static DisplayTableServiceAsync getTableService()
	{
		if(displayTableService==null)
			displayTableService=GWT.create(DisplayTableService.class);
		
		return displayTableService;
		
	}
}
